package com.imagecollector.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 图片数据表
 * </p>
 *
 * @author wrf
 * @since 2024-08-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("picture")
@ApiModel(value="Picture对象", description="图片数据表")
public class Picture implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "任务id")
    private Integer taskId;

    @ApiModelProperty(value = "提交用户id")
    private Integer userId;

    @ApiModelProperty(value = "图片路径")
    private String url;

    @ApiModelProperty(value = "用户说明的景区")
    private String userRemarkScenic;

    @ApiModelProperty(value = "用户说明的展品")
    private String userRemarkExhibits;

    @ApiModelProperty(value = "客服是否标注 0未标注 1已标注")
    private Integer customerServiceIsRemark;

    @ApiModelProperty(value = "标注客服id")
    private Integer customerServiceId;

    @ApiModelProperty(value = "客服标注的景区")
    private String customerServiceRemarkScenic;

    @ApiModelProperty(value = "客服标注的展品")
    private String customerServiceRemarkExhibits;

    @ApiModelProperty(value = "提交记录id")
    private Integer submitRecordId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
